package com.asset.dispoal.business.appoint.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import tech.mhuang.pacebox.springboot.protocol.data.PageDTO;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 委派 DTO
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class AppointDetailResponse extends PageDTO {

    private String id;

    @ApiModelProperty("法院名称")
    private String courtName;

    @ApiModelProperty("原告名称")
    private String plaintiffName;

    @ApiModelProperty("律师名称1")
    private String lawyerName1;

    @ApiModelProperty("律师名称2")
    private String lawyerName2;

    @ApiModelProperty("委派类型（1正常派案，2退案委派,3瑕疵池派案）")
    private String type;

    @ApiModelProperty("批次名称")
    private String batchName;

    @ApiModelProperty("区域类型（1省、2市、3区/县）")
    private String areaType;

    @ApiModelProperty("案件归属类型(1约定，2法定）")
    private String ascriptionType;

    @ApiModelProperty("身份证状态（全部为空，1是过期、2是未过期）")
    private String idCardState;

    @ApiModelProperty("短信状态（全部为空，1成功，0失败，2未知）")
    private String smsState;

    @ApiModelProperty("创建人")
    private String userName;

    @ApiModelProperty("案件数量")
    private Integer countNum;

    @ApiModelProperty("诉讼标的数（0单笔，1多笔）")
    private String litigation;
    @ApiModelProperty("优先级（1，2，3）")
    private String level;

    @ApiModelProperty("证据份数")
    private Integer evidenceNum;

    @ApiModelProperty("转让方")
    private String transferor;
    @ApiModelProperty("转让方式（1内部，2外部）")
    private String transferorMode;
    @ApiModelProperty("电子版（1是，0否）")
    private String useElectronic;
    @ApiModelProperty("纸质版（1是，0否）")
    private String usePaper;
    @ApiModelProperty("是否追加纸质版（1是，0否）")
    private String useAppendPaper;
    @ApiModelProperty("要素表（1是，0否）")
    private String useElement;
    @ApiModelProperty("所函（2律所，1律师，0否）")
    private String useLetter;
    @ApiModelProperty("页码（1是，0否）")
    private String usePage;
    @ApiModelProperty("图片格式（1是，0否）")
    private String useImage;
    @ApiModelProperty("验签报告（1是，0否）")
    private String useVerify;
    @ApiModelProperty("发送债转短信（1是，0否）")
    private String useSms;
    @ApiModelProperty("特殊要求")
    private String require;

    @ApiModelProperty("所函模板名称")
    private String letterTemplateName;
    @ApiModelProperty("授权书模板名称")
    private String entrustTemplateName;
    @ApiModelProperty("证据打包配置名称")
    private String evidenceConfName;
    @ApiModelProperty("特殊要求2")
    private String require2;
    @ApiModelProperty("用于显示证据清单调用对应接口")
    private String evidenceConfId;

    @ApiModelProperty("诉讼标的金额小")
    private BigDecimal lawsuitPrincipalStartAmount;
    @ApiModelProperty("诉讼标的金额大")
    private BigDecimal lawsuitPrincipalEndAmount;
    @ApiModelProperty("诉讼本金金额小")
    private BigDecimal lawsuitSubjectStartAmount;
    @ApiModelProperty("诉讼本金金额大")
    private BigDecimal lawsuitSubjectEndAmount;
    @ApiModelProperty("诉讼利息金额小")
    private BigDecimal litigationInterestStartAmount;
    @ApiModelProperty("诉讼利息金额大")
    private BigDecimal litigationInterestEndAmount;
    @ApiModelProperty("委派/下单案件数")
    private Integer appointCount;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("委派日期")
    private Date createTime;
    @ApiModelProperty("户籍地址")
    private String borrowerAddress;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @ApiModelProperty("计算时间")
    private Date calculationDate;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("下单日期")
    private Date downloadOrderTime;
    @ApiModelProperty("电子证据地址")
    private String evidenceAddress;
    @ApiModelProperty("移交数量")
    private Integer deliverNum;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("移交时间")
    private Date deliverTime;
    @ApiModelProperty("瑕疵原因")
    private String flawName;
    @ApiModelProperty("公式")
    private String formulaName;

    @ApiModelProperty("诉讼模板id")
    private String litigationTemplateId;
    @ApiModelProperty("诉讼模板")
    private String litigationTemplateName;
    @ApiModelProperty("还款明细拆分（1是，0否）")
    private String useReply;
    @ApiModelProperty("下载方式（1并案，0个案）")
    private String downloadMode;

    @ApiModelProperty("转让证明模板id")
    private String transferTemplateId;
    @ApiModelProperty("转让证明模板")
    private String transferTemplateName;
    @ApiModelProperty("是否上传电子签章报告（1是，0否）")
    private String useUploadVerify;

    @ApiModelProperty("配置项的id")
    private String evidenceDetailIds;

    @ApiModelProperty("特殊备注")
    private String specialRemark;
}
